<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Vite App</title>
  <link rel="stylesheet" href="./style.css">
</head>

<body>
  <div id="app">
    <div class="operator-area">
      <div class="input-group">
        <label for="roomId">房间号：</label>
        <input type="text" id="roomId" />
      </div>
      <div class="input-group">
        <label for="userId">用户ID：</label>
        <input type="text" id="userId" />
      </div>
      <div class="button-group">
        <button id="start">视频通话</button>
        <button id="stop">暂停/恢复</button>
        <button id="share">屏幕共享</button>
      </div>
    </div>
    <div class="video-area">
      <h3>视频通话区</h3>
      <div class="video-container">
        <div class="localArea">
          <video id="localVideo" src="" playsinline autoplay muted></video>
          <h4>本地视频</h4>
        </div>
      </div>
    </div>
  </div>
  <script type="module" src="/M2M.js"></script>
</body>

</html>